The Parable of the Two Programmers [1]
Neil W . Rickert
Dept . of Math, Stat ., and Computer Science ,
University of Illinois at Chicago .
Once upon a time, unbeknown to each other, the “Automated Accounting Applications Association” and the “Consolidated Computerized Capital Corporation” decided that they needed the identical program to perform a certain service .
Automated hired a programmer-analyst, Alan, to solve their problem. Meanwhile Consolidated decided to ask a newly hired entry-level programmer, Charles, to tackle the job, to see if he was as good as he pretended.
Alan, having had experience in difficult programming projects, decided to use the PQR structured design methodology . With this in mind he asked his department manager to assign another three programmers as a programming team.
Then the team went to work, churning out preliminary reports and problem analyses .
Back at Consolidated, Charles spent some time thinking about the problem. His fellow employees noticed that Charles often sat with his feet on the desk, drinking coffee. He was occasionally seen at his computer terminal, but his office mate could tell from the rythmic striking of keys that he was actually playing Space Invaders.
By now, the team at Automated was starting to write code. The programmers were spending about half their time writing and compiling code, and the rest of their time in conference, discussing the interfaces between the various modules.
His office mate noticed that Charles had finally given up on Space Invaders. Instead he now divided his time between drinking coffee with his feet on the table, and scribbling on little scraps of paper. His scribbling didn’t seem to be Tic Tac Toe, but it didn’t exactly make much sense, either.
Two months have gone by. The team at Automated finally releases an implementation timetable . In another two months they will have a test version of the program. Then a two month period of testing and enhancing should yield a completed version.
The manager of Charles has by now tired of seeing him goof off. He decides to confront him. But as he walks into Charles’s office, he is surprised to see Charles busy entering code at his terminal . He decides to postpone the confrontation, so makes some small talk then leaves. However, he begins to keep a closer watch on Charles, so that when the opportunity presents itself he can confront him. Not looking forward to an unpleasant conversation, he is pleased to notice that Charles seems to be busy most of the time. He has even been seen to delay his lunch, and to stay after work two or three days a week.
At the end of three months, Charles announces he has completed the project . He submits a 500 line program. The program appears to be clearly written, and when tested it does everything required in the specifications. In fact it even has a few additional convenience features which might significantly improve the useability of the program. The program is put into test, and, except for one quickly corrected oversight, performs well.
The team at Automated has by now completed two of the four major modules required for their program. These modules are now undergoing testing while the other modules are completed.
After another three weeks, Alan announces that the preliminary version is ready one week ahead of schedule . He supplies a list of the deficiencies that he expects to correct. The program is placed under test. The users find a number of bugs and deficiencies, other than those listed. As Alan explains, this is no surprise. After all this is a preliminary version in which bugs were expected.
After about two more months, the team has completed its production version of the program. It consists of about 2,500 [2] lines of code. When tested it seems to satisfy most of the original specifications. It has omitted one or two features, and is very fussy about the format of its input data. However the company decides to install the program. They can always train their data-entry staff to enter data in the strict format required. The program is handed over to some maintenance programmers to eventually incorporate the missing features.
Sequel :
At first Charles’s supervisor was impressed . But as he read through the source code, he realized that the project was really much simpler than he had originally thought. It now seemed apparent that this was not much of a challenge even for a beginning programmer.
Charles did produce about 5 lines of code per day. This is perhaps a little above average. However, considering the simplicity of the program, it was nothing exceptional. Also his supervisor remembered his two months of goofing off .
At his next salary review Charles was given a raise which was about half the inflation over the period. He was not given a promotion. After about a year he became discouraged and left Consolidated.
At Automated, Alan was complimented for completing his project on schedule . His supervisor looked over the program . With a few minutes of thumbing through he saw that the company standards about structured programming were being observed . He quickly gave up attempting to read the program however; it seemed quite incomprehensible . He realized by now that the project was really much more complex than he had originally assumed, and he congratulated Alan again on his achievement. The team had produced over 3 lines of code per programmer per day . This was about average, but, considering the complexity of the problem, could be considered to be exceptional. Alan was given a hefty pay raise, and promoted to Systems Analyst as a reward for his achievement.
Transcribed from:
The Parable of the Two Programmers
Neil W. Rickert
Dept. of Math, Stat., and Computer Science,
University of Illinois at Chicago.
ACM SIGSOFT SOFTWARE ENGINEERING NOTES vol 10 no 1 Jan 1985 page 16-18 ISSN:0163-5948 doi>10.1145/1012443.1012452
https://dl.acm.org/citation.cfm?doid=1012443.1012452
https://portalparts.acm.org/1020000/1012443/fm/frontmatter.pdf
[1] The reader is invited to derive his own moral.
[2] If this seems unreasonable, ask anyone who regularly teaches computer science courses in which programming projects are required. A five to one ratio between the shortest and longest program is quite typical, and usually the shorter programs are better.
Borrowed from here https://news.ycombinator.com/item?id=8942176
There was a MOOC on Coursera called “Irrational Behaviour” and one of the stories there is about a locksmith who in the beginning of his career used to fix a door lock in more than an hour, with lots of effort and almost always destroying the door. His clients were happy to pay him the 70 dollars he charged for the operation and also tipped him most of the time. As time went by and his experience increased he got to a point where he was fixing the door locks in 10 or 15 minutes with virtually no disturbances for the customers. His tips started to fade off and his customers became outraged at his 70$ charged for those 10 mins of work.
Conclusion: we don’t want to pay related to the value we receive for a certain service, but to the amount of effort involved in the delivery of that service.
The Parable of the two programmers is not directly related to the locksmith parable, as it is not the only bias occurring here. But it is one of the points.
Another Story from here: https://www.smithsonianmag.com/history/charles-proteus-steinmetz-the-wizard-of-schenectady-51912022/
…
Before long, the greatest scientific minds of the time were traveling to Schenectady to meet with the prolific “little giant”; anecdotal tales of these meetings are still told in engineering classes today. One appeared on the letters page of Life magazine in 1965, after the magazine had printed a story on Steinmetz. Jack B. Scott wrote in to tell of his father’s encounter with the Wizard of Schenectady at Henry Ford’s River Rouge plant in Dearborn, Michigan.
Ford, whose electrical engineers couldn’t solve some problems they were having with a gigantic generator, called Steinmetz in to the plant. Upon arriving, Steinmetz rejected all assistance and asked only for a notebook, pencil and cot. According to Scott, Steinmetz listened to the generator and scribbled computations on the notepad for two straight days and nights. On the second night, he asked for a ladder, climbed up the generator and made a chalk mark on its side. Then he told Ford’s skeptical engineers to remove a plate at the mark and replace sixteen windings from the field coil. They did, and the generator performed to perfection.
Henry Ford was thrilled until he got an invoice from General Electric in the amount of $10,000. Ford acknowledged Steinmetz’s success but balked at the figure. He asked for an itemized bill.
Steinmetz, Scott wrote, responded personally to Ford’s request with the following:
Making chalk mark on generator $1.
Knowing where to make mark $9,999.
Ford paid the bill.
Read more: https://www.smithsonianmag.com/history/charles-proteus-steinmetz-the-wizard-of-schenectady-51912022/#O82LxMlqg5Vrvlr4.99
Give the gift of Smithsonian magazine for only $12! http://bit.ly/1cGUiGv
Follow us: @SmithsonianMag on Twitter
https://www.90percentofeverything.com/2010/12/16/adding-delays-to-increase-perceived-value-does-it-work/
About adding fake delays so a services fits in the user conception of difficulty.